package com.pand.model.insurance;

import com.pand.model.BaseObject;

import javax.persistence.*;
import java.util.Date;

/**
 * 车辆与保险关系记录
 * 
 * InsuranceOrderVehicle.java
 * @author xss
 * 2017-4-13 下午5:34:52
 */
@Entity
@Table(name = "BIZ_ORDER_VEHICLE_INSURANCE")
@SequenceGenerator(name = "SeqInsuranceOrderVehicle", sequenceName = "SEQ_ORDER_VEHICLE_INSURANCE", allocationSize = 1)
public class InsuranceOrderVehicle extends BaseObject {

	/**
	 * 添加类成员变量的功能描述
	 */
	private static final long serialVersionUID = 1L;
	
	private Long id;
	private Long vehicleId;
	private Long insuranceId;
	private String createor;
	private Date createTime;
	
	@Id
	@GeneratedValue(generator = "SeqInsuranceOrderVehicle")
	@Column(name = "ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "VEHICLE_ID")
	public Long getVehicleId() {
		return vehicleId;
	}
	public void setVehicleId(Long vehicleId) {
		this.vehicleId = vehicleId;
	}
	@Column(name = "INSURANCE_ID")
	public Long getInsuranceId() {
		return insuranceId;
	}
	public void setInsuranceId(Long insuranceId) {
		this.insuranceId = insuranceId;
	}
	@Column(name = "CREATEOR")
	public String getCreateor() {
		return createor;
	}
	public void setCreateor(String createor) {
		this.createor = createor;
	}
	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}
